<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to MEF</title>
<link href="view/css/mefstylesheet.css" type="text/css" rel="stylesheet"/>
    <link  rel="stylesheet" type="text/css" href="view/css/jquery.jqplot.min.css" />

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<script type="text/javascript" src="view/js/jquery.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('a.login-window').click(function() {
		
                //Getting the variable's value from a link 
		var loginBox = $(this).attr('href');

		//Fade in the Popup
		$(loginBox).fadeIn(300);
		
		//Set the center alignment padding + border see css style
		var popMargTop = ($(loginBox).height() + 24) / 2; 
		var popMargLeft = ($(loginBox).width() + 24) / 2; 
		
		$(loginBox).css({ 
			'margin-top' : -popMargTop,
			'margin-left' : -popMargLeft
		});
		
		// Add the mask to body
		$('body').append('<div id="mask"></div>');
		$('#mask').fadeIn(300);
		
		return false;
	});
	
	// When clicking on the button close or the mask layer the popup closed
	$('a.close, #mask').live('click', function() { 
	  $('#mask , .login-popup').fadeOut(300 , function() {
		$('#mask').remove();  
	}); 
	return false;
	});
});
</script>
<style type="text/css">
/* Mask for background, by default is not display */
.tabcnt{ float:left !important;}
#mask {
	display: none;
	background: #000; 
	position: fixed; left: 0; top: 0; 
	z-index: 10;
	width: 100%; height: 100%;
	opacity: 0.8;
	z-index: 999;
}

/* You can customize to your needs  */
.login-popup{
	display:none;
	background:#fff;
	padding: 10px; 	
	border: 2px solid #ddd;
	float: left;
	font-size: 1.2em;
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
	border:5px solid #ccc;
	border-radius:3px 3px 3px 3px;
	-moz-border-radius: 3px; /* Firefox */
	-webkit-border-radius: 3px; /* Safari, Chrome */
	width:450px; height:260px;
}

img.btn_close { 
	float: right; 
	
}

fieldset { 
	border:none; 
}

form.signin .textbox label { 
	display:block; 
	padding-bottom:7px; 
}

form.signin .textbox span { 
	display:block;
	float:left;
	width:130px;
}

form.signin p, form.signin span { 

	color: #333;
font-size: 15px;
line-height: 26px;
padding-left: 10px;
margin-top: 3px;
} 

form.signin .textbox input { 
 
	border:1px solid #ccc;
	margin-top:5px;
	height:18px;
	color:#333; 
        border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px;
        -webkit-border-radius: 3px;
	font:13px Arial, Helvetica, sans-serif;
	padding:6px 6px 8px 6px;
	width:200px;
	margin-left:10px;
	line-height:18px;
	
}

form.signin input:-moz-placeholder { color:#333;  }
form.signin input::-webkit-input-placeholder { color:#333;  }

.button { 
	background: -moz-linear-gradient(center top, #f3f3f3, #dddddd);
	background: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#dddddd));
	background:  -o-linear-gradient(top, #f3f3f3, #dddddd);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f3f3f3', EndColorStr='#dddddd');
	border-color:#000; 
	border-width:1px;
        border-radius:4px 4px 4px 4px;
	-moz-border-radius: 4px;
        -webkit-border-radius: 4px;
	color:#333;
	cursor:pointer;
	display:inline-block;
	
	margin-top:10px;
	font:12px; 
	width:105px;
	height: 35px;
margin-left: 148px !important;
float: left;
}
.button:hover { background:#ddd; }

</style>
<link type="text/css" href="view/css/jquery-ui.css" rel="stylesheet"/>
<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>


</head>
<?php echo $header; ?>

<script  type="text/javascript" src="view/js/jquery.jqplot.min.js"></script>
<script  type="text/javascript" src="view/js/jqplot.pieRenderer.min.js"></script>


<div class="mef_mainbody">
<div class="mef_container">
<div class="meffullpart">
<div class="afbf_wp">

<form id="form" name="form" method="post" action="" onSubmit="return validate()">
<div style="padding-right:85%"><h2>Details of <?php echo $uname; ?></h2></div>
<div style="padding-left:93%"><input type="submit"  value="Save" class="savebtn"/></div>
<input type="hidden" name='before' value="<? echo $position; ?>">

<input type="hidden" name='envData1' id="envData1" value="<? echo htmlentities($envchartdetails01); ?>">
<input type="hidden" name='plantData1' id="plantData1" value="<? echo htmlentities($plantdetails01); ?>"/>
<input type="hidden" name='chakraData1' id="chakraData1" value="<? echo htmlentities($chakradetails01); ?>"/>

<input type="hidden" name='envData2' id="envData2" value="<? echo htmlentities($envchartdetails02); ?>">
<input type="hidden" name='plantData2' id="plantData2" value="<? echo htmlentities($plantdetails02); ?>"/>
<input type="hidden" name='chakraData2' id="chakraData2" value="<? echo htmlentities($chakradetails02); ?>"/>

</div>
<div id="tabs" class="checkregpart">
<input type="hidden" name="tabclicked" id="tabclicked" value="1"/>
<?php
	$tab1=$tab2=$tab3='';
	if($tabclicked==1)
	{
		$tab1="ui-tabs-selected ui-state-active";
	}else if($tabclicked==2)
	{
		$tab2="ui-tabs-selected ui-state-active";
	}
	else if($tabclicked==3)
	{
		$tab3="ui-tabs-selected ui-state-active";
	}
	else
	{
		$tab1="ui-tabs-selected ui-state-active";
	}
?>
  <ul>
    <!--<li><a href="#tabs-4">User Registration</a></li>-->
    <li class="<?php echo $tab1;?>"><a onclick="tabclicked(1)" href="#tabs-1">Environmental</a></li>
    <li class="<?php echo $tab2;?>"><a onclick="tabclicked(2)" href="#tabs-2">Planetary Positions</a></li>
    <li class="<?php echo $tab3;?>"><a onclick="tabclicked(3)" href="#tabs-3">Chakras</a></li>
  </ul>
  <div class="tabcnt checkregcnt">

 <div id="tabs-1">
<div class="tableft">

<table summary="Employee Pay Sheet" id="box-table-a" width="600" class="chakratable">
<thead>
<tr>
<th scope="col">&nbsp;</th>
<th scope="col">Environmental</th>
<th scope="col">YES </th>
<th scope="col">NO</th>
<th scope="col">&nbsp;&nbsp;&nbsp;&nbsp;Low Angel</th>
</tr>
</thead>

<tbody>
<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<? //echo '<pre>'; print_r($envdetails); exit; ?>
<td>Geographical Strees (GS) <input type="hidden" name='Geograph' value='Geographical Strees (GS)'></td>
<?php if($envdetails['Geographical Strees (GS)']['yes']=="yes") { ?>
<td> <input type="checkbox" name="geo_yes" id="geo_yes" checked="checked" value="yes" /></td>
<? } else {?>
<td> <input type="checkbox" name="geo_yes" id="geo_yes" value="yes" /></td>
<? } ?>
<? if($envdetails['Geographical Strees (GS)']['no']=="no") {?>
<td> <input type="checkbox" name="geo_no" checked="checked"value="no" /></td>
<? } else {?>
<td> <input type="checkbox" name="geo_no"  value="no" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="geo_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($envdetails['Geographical Strees (GS)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>  
</select> 
</td>
</tr>

<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Negative Ultra Voilet (-UV) <input type="hidden" name='Negative' value='Negative Ultra Voilet (-UV)'></td>
<?php if($envdetails['Negative Ultra Voilet (-UV)']['yes']=="yes") { ?>
<td> <input type="checkbox" name="negative_yes" id="negative_yes" checked="checked" value="yes" /></td>
<? } else { ?>
<td> <input type="checkbox" name="negative_yes" id="negative_yes"  value="yes" /></td>
<? } ?>
<?  if($envdetails['Negative Ultra Voilet (-UV)']['no']=="no") {?>
<td> <input type="checkbox" name="negative_no" id="negative_no" checked="checked"value="no" /></td>
<? } else { ?>
<td> <input type="checkbox" name="negative_no"  id="negative_no" value="no" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="negative_low" id="negative_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($envdetails['Negative Ultra Voilet (-UV)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>
</select> 
</td>
</tr>
<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Infrared radiation <input type="hidden" name='Infrared' value='Infrared radiation'></td>
<?php if($envdetails['Infrared radiation']['yes']=="yes") { ?>
<td> <input type="checkbox" name="infrared_yes" checked="checked" value="yes" /></td>
<? } else { ?>
<td> <input type="checkbox" name="infrared_yes"  value="yes" /></td>
<? } ?>
<?  if($envdetails['Infrared radiation']['no']=="no") {?>
<td> <input type="checkbox" name="infrared_no" checked="checked"value="no" /></td>
<? } else { ?>
<td> <input type="checkbox" name="infrared_no" value="no" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="infrared_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($envdetails['Infrared radiation']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>  
</select> 
</td>
</tr>

<!--<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Sole Devils D (-UV & -IR ) <input type="hidden" name='Sole_name' value='Sole Devils D (-UV & -IR )'></td>
<td> <input type="checkbox" name="Sole" value="yes"/></td>
<td> <input type="checkbox" name="Sole" value="no" /></td>
<td>
<select class="selec_lowangel" name="Sole_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->
<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Sole Devils D (-UV & -IR ) <input type="hidden" name='Sole_name' value='Sole Devils D (-UV &amp; -IR )'></td>
<?php if($envdetails['Sole Devils D (-UV &amp; -IR )']['yes']=="yes") { ?>
<td> <input type="checkbox" name="Sole_yes" checked="checked" value="yes" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Sole_yes"  value="yes" /></td>
<? } ?>
<?   if($envdetails['Sole Devils D (-UV &amp; -IR )']['no']=="no") {?>
<td> <input type="checkbox" name="Sole_no" checked="checked"value="no" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Sole_no" value="no" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Sole_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($envdetails['Sole Devils D (-UV &amp; -IR )']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

</tbody>
</table>
</div>
<div class="piechart">
<div id="chart7" style="width: 300px; height: 250px;"></div>
  </div></div>
  
<div id="tabs-2">
<div class="tableft">
<table summary="Employee Pay Sheet" id="box-table-a" width="600" class="chakratable">
<thead>
<tr>
<th scope="col">&nbsp;</th>
<th scope="col">Planetary Positions</th>
<th scope="col">HLE </th>
<th scope="col">LLE</th>
<th scope="col">Low Angel</th>
</tr>
</thead>

<tbody>
<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>The Sun (Surya) <input type="hidden" name='The Sun_name' value='The Sun (Surya)'></td>
<?php  if($plantdetails['The Sun (Surya)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="The Sun_hle" id="Sun_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="The Sun_hle" id="Sun_hle" value="HLE" /></td>
<? } ?>
<?  if($plantdetails['The Sun (Surya)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="The Sun_lle" id="Sun_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="The Sun_lle" id="Sun_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="The Sun_low" id="Sun_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['The Sun (Surya)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>


<!--<td>The Sun (Surya) <input type="hidden" name='The Sun_name' value='The Sun (Surya)'></td>
<td> <input type="checkbox" name="The Sun" value="HLE" /></td>
<td> <input type="checkbox" name="The Sun" value="LLE"  /></td>
<td>
<select class="selec_lowangel" name="The Sun_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/mercury.gif"/></td>
<td>Mercury (Moon) <input type="hidden" name='Mercury_name' value='Mercury (Moon)'></td>
<?php if($plantdetails['Mercury (Moon)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Mercury_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Mercury_hle"  value="HLE" /></td>
<? } ?>
<? if($plantdetails['Mercury (Moon)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Mercury_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Mercury_lle"  value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Mercury_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Mercury (Moon)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>

<!--<td>Mercury (Moon) <input type="hidden" name='Mercury_name' value='Mercury (Moon)'></td>
<td> <input type="checkbox" name="Mercury" value="HLE"/></td>
<td> <input type="checkbox" name="Mercury" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Mercury_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/venus.gif"/></td>
<td>Venus (Khuja) <input type="hidden" name='Venus_name' value='Venus (Khuja)'></td>
<?php if($plantdetails['Venus (Khuja)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Venus_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Venus_hle"  value="HLE" /></td>
<? } ?>
<? if($plantdetails['Venus (Khuja)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Venus_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Venus_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Venus_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Venus (Khuja)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>


<!--<td>Venus (Khuja) <input type="hidden" name='Venus_name' value='Venus (Khuja)'></td>
<td> <input type="checkbox" name="Venus" value="HLE"/></td>
<td> <input type="checkbox" name="Venus" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Venus_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/earth.gif"/></td>
<td>Earth (Budha) <input type="hidden" name='Earth_name' value='Earth (Budha)'></td>
<?php if($plantdetails['Earth (Budha)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Earth_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Earth_hle"  value="HLE" /></td>
<? } ?>
<? if($plantdetails['Earth (Budha)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Earth_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Earth_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Earth_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Earth (Budha)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Earth (Budha) <input type="hidden" name='Earth_name' value='Earth (Budha)'></td>
<td> <input type="checkbox" name="Earth" value="HLE" /></td>
<td> <input type="checkbox" name="Earth" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Earth_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/mars.gif"/></td>
<td>Mars (Guru) <input type="hidden" name='Mars_name' value='Mars (Guru)'></td>
<?php if($plantdetails['Mars (Guru)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Mars_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Mars_hle"  value="HLE" /></td>
<? } ?>
<? if($plantdetails['Mars (Guru)']['lle']=="LLE") { ?>
<td> <input type="checkbox" name="Mars_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Mars_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Mars_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Mars (Guru)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Mars (Guru) <input type="hidden" name='Mars_name' value='Mars (Guru)'></td>
<td><input type="checkbox" name="Mars" value="HLE" /></td>
<td><input type="checkbox" name="Mars" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Mars_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/jupiter.gif"/></td>
<td>Jupiter (Sukhara) <input type="hidden" name='Jupiter_name' value='Jupiter (Sukhara)'></td>
<?php if($plantdetails['Jupiter (Sukhara)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Jupiter_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Jupiter_hle" value="HLE" /></td>
<? } ?>
<? if($plantdetails['Jupiter (Sukhara)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Jupiter_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Jupiter_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Jupiter_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Jupiter (Sukhara)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Jupiter (Sukhara) <input type="hidden" name='Jupiter_name' value='Jupiter (Sukhara)'></td>
<td> <input type="checkbox" name="Jupiter" value="HLE"/></td>
<td> <input type="checkbox" name="Jupiter" value="LLE" /></td>
<td>
<select class="selec_lowangel" name="Jupiter_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/saturn.gif"/></td>
<td>Saturn (Sani) <input type="hidden" name='Saturn_name' value='Saturn (Sani)'></td>
<?php if($plantdetails['Saturn (Sani)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Saturn_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Saturn_hle" value="HLE" /></td>
<? } ?>
<? if($plantdetails['Saturn (Sani)']['lle']=="LLE") { ?>
<td> <input type="checkbox" name="Saturn_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Saturn_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Saturn_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Saturn (Sani)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Saturn (Sani) <input type="hidden" name='Saturn_name' value='Saturn (Sani)'></td>
<td> <input type="checkbox" name="Saturn" value="HLE"/></td>
<td> <input type="checkbox" name="Saturn" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Saturn_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/urans.gif"/></td>
<td>Uranus (Rahu) <input type="hidden" name='Uranus_name' value='Uranus (Rahu)'></td>
<?php if($plantdetails['Uranus (Rahu)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Uranus_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Uranus_hle"  value="HLE" /></td>
<? } ?>
<? if($plantdetails['Uranus (Rahu)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Uranus_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Uranus_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Uranus_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Uranus (Rahu)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Uranus (Rahu) <input type="hidden" name='Uranus_name' value='Uranus (Rahu)'></td>
<td> <input type="checkbox" name="Uranus" value="HLE" /></td>
<td> <input type="checkbox" name="Uranus" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Uranus_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->


<tr class="normalrow">
<td><img src="view/images/neftune.gif"/></td>
<td>Neptune (Kethu) <input type="hidden" name='Neptune_name' value='Neptune (Kethu)'></td>
<?php if($plantdetails['Neptune (Kethu)']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Neptune_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Neptune_hle"  value="HLE" /></td>
<? } ?>
<? if($plantdetails['Neptune (Kethu)']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Neptune_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Neptune_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Neptune_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($plantdetails['Neptune (Kethu)']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Neptune (Kethu) <input type="hidden" name='Neptune_name' value='Neptune (Kethu)'></td>
<td> <input type="checkbox" name="Neptune" value="HLE" /></td>
<td> <input type="checkbox" name="Neptune" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Neptune_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

</tbody>
</table>
</div>
<div class="piechart">
<div id="chart8" style="width: 500px; height: 500px;"></div>
</div>
</div>

<div id="tabs-3">
<div class="tableft">
<table summary="Employee Pay Sheet" id="box-table-a" width="600" class="chakratable">
<thead>
<tr>
<th scope="col">&nbsp;</th>
<th scope="col">Chakras</th>
<th scope="col">HLE </th>
<th scope="col">LLE</th>
<th scope="col">Low Angel</th>
</tr>
</thead>

<tbody>
<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>Muladhra <input type="hidden" name='Muladhra_name' value='Muladhra'></td>
<?php if($chackradetails['Muladhra']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Muladhra_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Muladhra_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Muladhra']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Muladhra_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Muladhra_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Muladhra_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Muladhra']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Muladhra <input type="hidden" name='Muladhra_name' value='Muladhra'></td>
<td> <input type="checkbox" name="Muladhra" value="HLE"/></td>
<td> <input type="checkbox" name="Muladhra" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Muladhra_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Swadhistana <input type="hidden" name='Swadhistana_name' value='Swadhistana'></td>
<?php if($chackradetails['Swadhistana']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Swadhistana_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Swadhistana_hle"  value="HLE" /></td>
<? } ?>
<?  if($chackradetails['Swadhistana']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Swadhistana_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Swadhistana_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Swadhistana_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Swadhistana']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Swadhistana <input type="hidden" name='Swadhistana_name' value='Swadhistana'></td>
<td> <input type="checkbox" name="Swadhistana"  value="HLE"/></td>
<td> <input type="checkbox" name="Swadhistana" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Swadhistana_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>Naval <input type="hidden" name='Naval_name' value='Naval'></td>
<?php if($chackradetails['Naval']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Naval_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Naval_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Naval']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Naval_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Naval_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Naval_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Naval']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>

<!--<td>Naval 	<input type="hidden" name='Naval_name' value='Naval'></td>
<td> <input type="checkbox" name="Naval" value="HLE" /></td>
<td> <input type="checkbox" name="Naval" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Naval_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Solar Plexus <input type="hidden" name='Solar_name' value='Solar Plexus'></td>
<?php if($chackradetails['Solar Plexus']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Solar_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Solar_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Solar Plexus']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Solar_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Solar_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Solar_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Solar Plexus']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Solar Plexus <input type="hidden" name='Solar_name' value='Solar Plexus'></td>
<td> <input type="checkbox" name="Solar" value="HLE" /></td>
<td> <input type="checkbox" name="Solar" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Solar_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>Front Head <input type="hidden" name='Front_name' value='Front Head'></td>
<?php if($chackradetails['Front Head']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Front_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Front_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Front Head']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Front_lle" checked="checked" value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Front_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Front_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Front Head']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>

<!--<td>Front Head <input type="hidden" name='Front_name' value='Front Head'></td>
<td> <input type="checkbox" name="Front" value="HLE"/></td>
<td> <input type="checkbox" name="Front" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Front_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Back Head <input type="hidden" name='Back_name' value='Back Head'></td>
<?php if($chackradetails['Back Head']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Back_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Back_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Back Head']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Back_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Back_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Back_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Back Head']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Back Head <input type="hidden" name='Back_name' value='Back Head'></td>
<td><input type="checkbox" name="Back" value="HLE"/></td>
<td><input type="checkbox" name="Back" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Back_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>Throat <input type="hidden" name='Throat_name' value='Throat'></td>
<?php if($chackradetails['Throat']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Throat_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Throat_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Throat']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Throat_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Throat_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Throat_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Throat']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>

<!--<td>Throat <input type="hidden" name='Throat_name' value='Throat'></td>
<td> <input type="checkbox" name="Throat" value="HLE"/></td>
<td> <input type="checkbox" name="Throat" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Throat_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Ajna <input type="hidden" name='Ajna_name' value='Ajna'></td>
<?php if($chackradetails['Ajna']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Ajna_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Ajna_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Ajna']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Ajna_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Ajna_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Ajna_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Ajna']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>

<!--<td>Ajna <input type="hidden" name='Ajna_name' value='Ajna'></td>
<td> <input type="checkbox" name="Ajna" value="HLE"/></td>
<td> <input type="checkbox" name="Ajna" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Ajna_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->


<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>Fore Head <input type="hidden" name='Fore_name' value='Fore Head'></td>
<?php if($chackradetails['Fore Head']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Fore_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Fore_hle"  value="HLE" /></td>
<? } ?>
<?  if($chackradetails['Fore Head']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Fore_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Fore_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Fore_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Fore Head']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?> 
</select> 
</td>
</tr>

<!--<td>Fore Head <input type="hidden" name='Fore_name' value='Fore Head'></td>
<td> <input type="checkbox" name="Fore" value="HLE"/></td>
<td> <input type="checkbox" name="Fore" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Fore_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->
 	

<tr class="hoverrow">
<td><img src="view/images/sun.gif"/></td>
<td>Crown <input type="hidden" name='Crown_name' value='Crown'></td>
<?php if($chackradetails['Crown']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Crown_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Crown_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Crown']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Crown_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Crown_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Crown_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Crown']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>
</select> 
</td>
</tr>

<!--<td>Crown <input type="hidden" name='Crown_name' value='Crown'></td>
<td> <input type="checkbox" name="Crown" value="HLE"/></td>
<td> <input type="checkbox" name="Crown" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Crown_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->

<tr class="normalrow">
<td><img src="view/images/sun.gif"/></td>
<td>Spleen <input type="hidden" name='Spleen_name' value='Spleen'></td>
<?php if($chackradetails['Spleen']['hle']=="HLE") { ?>
<td> <input type="checkbox" name="Spleen_hle" checked="checked" value="HLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Spleen_hle"  value="HLE" /></td>
<? } ?>
<? if($chackradetails['Spleen']['lle']=="LLE") {?>
<td> <input type="checkbox" name="Spleen_lle" checked="checked"value="LLE" /></td>
<? } else { ?>
<td> <input type="checkbox" name="Spleen_lle" value="LLE" /></td>
<? } ?>
<td>
<select class="selec_lowangel" name="Spleen_low">
  <option value="Select">Low Angel</option>
  <?for($i=5;$i<=90;$i+=5){?>
  <?php if($chackradetails['Spleen']['lowangel']==$i) { ?>
  <option value="<? echo $i;?>" selected><? echo $i;?></option>
  <?}else{?>
  <option value="<? echo $i;?>"><? echo $i;?></option>
  <?}}?>   
</select> 
</td>
</tr>

<!--<td>Spleen <input type="hidden" name='Spleen_name' value='Spleen'></td>
<td> <input type="checkbox" name="Spleen" value="HLE"/></td>
<td> <input type="checkbox" name="Spleen" value="LLE"/></td>
<td>
<select class="selec_lowangel" name="Spleen_low">
  <option value="Select">Low Angel</option>
  <option value="5">5</option>
  <option value="10">10</option>
  <option value="15">15</option>
  <option value="15">20</option>
  <option value="15">25</option>
  <option value="15">30</option>
</select> 
</td>
</tr>-->
</tbody>
</table>
</form>
</div>
<div class="piechart">
<div id="chart9" style="width: 500px; height: 500px;"></div>
</div>
  </div>
  </div>



<br/><br/>


<br/><br/>

</div>

</div>
</div>
</div>
<?php echo $footer;?>
</body>
</html>

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
    google.load("visualization", "1", {packages:["corechart"]});
</script>
<script type="text/javascript">
	var envInfo1 = eval($('#envData1').val());
	var envInfo2 = eval($('#envData2').val());
	  
      google.setOnLoadCallback(drawChart1);
      function drawChart1() {
        var data = google.visualization.arrayToDataTable([
          envInfo1,
          envInfo2
        ]);

        var options = {
          title: 'Environmental',
          hAxis: {title: '', titleTextStyle: {color: 'red'}}
        };

        var chart = new google.visualization.ColumnChart(document.getElementById('chart7'));
        chart.draw(data, options);
      }
      
      var plantInfo1 = eval($('#plantData1').val());
      var plantInfo2 = eval($('#plantData2').val());
      
      google.setOnLoadCallback(drawChart2);
      function drawChart2() {
        var data = google.visualization.arrayToDataTable([
          plantInfo1,
          plantInfo2
        ]);

        var options = {
          title: 'Planetary Positions',
          hAxis: {title: '', titleTextStyle: {color: 'red'}}
        };

        var chart = new google.visualization.ColumnChart(document.getElementById('chart8'));
        chart.draw(data, options);
		
      }
      
      var chakraInfo1 = eval($('#chakraData1').val());
      var chakraInfo2 = eval($('#chakraData2').val());
      google.setOnLoadCallback(drawChart3);
      
      function drawChart3() {
        var data = google.visualization.arrayToDataTable([
          chakraInfo1,
          chakraInfo2
        ]);

        var options = {
          title: 'Chakras',
          hAxis: {title: '', titleTextStyle: {color: 'red'}}
        };

        var chart = new google.visualization.ColumnChart(document.getElementById('chart9'));
        chart.draw(data, options);
      }
	  

	/*
	  var wrapper1 = new google.visualization.ChartWrapper({
	    chartType: 'ColumnChart',
	    dataTable: [envInfo1,
			envInfo2],
	    options: {'title': ''},
	    containerId: 'chart7'
	  });
	  wrapper1.draw();
	*/	
</script>

<script>
  $(function() {
    $( "#tabs" ).tabs();
  });
  </script>
  
  <script>
  function validate()
  {
  	var cnt =0;
	if(document.form.geo_yes.checked == true) {
		cnt++;
	}
	if(document.form.geo_no.checked == true) {
		cnt++;
	}
	
	if(document.form.geo_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Geographical Strees (GS)');
		return false;
	}
	
	var cnt =0;
	if(document.form.negative_yes.checked == true) {
		cnt++;
	}
	if(document.form.negative_no.checked == true) {
		cnt++;
	}
	if(document.form.negative_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Negative Ultra Voilet (-UV)');
		return false;
	}
	
	var cnt =0;
	if(document.form.infrared_yes.checked == true) {
		cnt++;
	}
	if(document.form.infrared_no.checked == true) {
		cnt++;
	}
	if(document.form.infrared_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Infrared radiation ');
		return false;
	}
	var cnt =0;
	if(document.form.Sole_yes.checked == true) {
		cnt++;
	}
	if(document.form.Sole_no.checked == true) {
		cnt++;
	}
	if(document.form.Sole_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Sole Devils D (-UV & -IR ) ');
		return false;
	}
	
	var cnt =0;
	if(document.form.Sun_hle.checked == true) {
		cnt++;
	}
	if(document.form.Sun_lle.checked == true) {
		cnt++;
	}
	if(document.form.Sun_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for The Sun (Surya)  ');
		return false;
	}
	var cnt =0;
	if(document.form.Mercury_hle.checked == true) {
		cnt++;
	}
	if(document.form.Mercury_lle.checked == true) {
		cnt++;
	}
	if(document.form.Mercury_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Mercury (Moon)  ');
		return false;
	}
	var cnt =0;
	if(document.form.Venus_hle.checked == true) {
		cnt++;
	}
	if(document.form.Venus_lle.checked == true) {
		cnt++;
	}
	if(document.form.Venus_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Venus (Khuja)   ');
		return false;
	}
	var cnt =0;
	if(document.form.Earth_hle.checked == true) {
		cnt++;
	}
	if(document.form.Earth_lle.checked == true) {
		cnt++;
	}
	if(document.form.Earth_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Earth (Budha)    ');
		return false;
	}
	var cnt =0;
	if(document.form.Mars_hle.checked == true) {
		cnt++;
	}
	if(document.form.Mars_lle.checked == true) {
		cnt++;
	}
	if(document.form.Mars_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Mars (Guru)    ');
		return false;
	}
	var cnt =0;
	if(document.form.Jupiter_hle.checked == true) {
		cnt++;
	}
	if(document.form.Jupiter_lle.checked == true) {
		cnt++;
	}
	if(document.form.Jupiter_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Jupiter (Sukhara) ');
		return false;
	}
	var cnt =0;
	if(document.form.Saturn_hle.checked == true) {
		cnt++;
	}
	if(document.form.Saturn_lle.checked == true) {
		cnt++;
	}
	if(document.form.Saturn_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Jupiter (Sukhara) ');
		return false;
	}
	var cnt =0;
	if(document.form.Uranus_hle.checked == true) {
		cnt++;
	}
	if(document.form.Uranus_lle.checked == true) {
		cnt++;
	}
	if(document.form.Uranus_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Uranus (Rahu)  ');
		return false;
	}
	var cnt =0;
	if(document.form.Neptune_hle.checked == true) {
		cnt++;
	}
	if(document.form.Neptune_lle.checked == true) {
		cnt++;
	}
	if(document.form.Neptune_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Neptune (Kethu)');
		return false;
	}
	var cnt =0;
	if(document.form.Muladhra_hle.checked == true) {
		cnt++;
	}
	if(document.form.Muladhra_lle.checked == true) {
		cnt++;
	}
	if(document.form.Muladhra_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Muladhra ');
		return false;
	}
	var cnt =0;
	if(document.form.Swadhistana_hle.checked == true) {
		cnt++;
	}
	if(document.form.Swadhistana_lle.checked == true) {
		cnt++;
	}
	if(document.form.Swadhistana_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Swadhistana ');
		return false;
	}
	var cnt =0;
	if(document.form.Naval_hle.checked == true) {
		cnt++;
	}
	if(document.form.Naval_lle.checked == true) {
		cnt++;
	}
	if(document.form.Naval_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Naval');
		return false;
	}
	var cnt =0;
	if(document.form.Solar_hle.checked == true) {
		cnt++;
	}
	if(document.form.Solar_lle.checked == true) {
		cnt++;
	}
	if(document.form.Solar_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Solar Plexus ');
		return false;
	}
	var cnt =0;
	if(document.form.Front_hle.checked == true) {
		cnt++;
	}
	if(document.form.Front_lle.checked == true) {
		cnt++;
	}
	if(document.form.Front_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Front Head');
		return false;
	}
	var cnt =0;
	if(document.form.Back_hle.checked == true) {
		cnt++;
	}
	if(document.form.Back_lle.checked == true) {
		cnt++;
	}
	if(document.form.Back_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Back Head');
		return false;
	}
	var cnt =0;
	if(document.form.Throat_hle.checked == true) {
		cnt++;
	}
	if(document.form.Throat_lle.checked == true) {
		cnt++;
	}
	if(document.form.Throat_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Throat ');
		return false;
	}
	var cnt =0;
	if(document.form.Ajna_hle.checked == true) {
		cnt++;
	}
	if(document.form.Ajna_lle.checked == true) {
		cnt++;
	}
	if(document.form.Ajna_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Ajna ');
		return false;
	}
	var cnt =0;
	if(document.form.Fore_hle.checked == true) {
		cnt++;
	}
	if(document.form.Fore_lle.checked == true) {
		cnt++;
	}
	if(document.form.Fore_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Fore Head');
		return false;
	}
	var cnt =0;
	if(document.form.Spleen_hle.checked == true) {
		cnt++;
	}
	if(document.form.Spleen_lle.checked == true) {
		cnt++;
	}
	if(document.form.Spleen_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Spleen');
		return false;
	}
	var cnt =0;
	if(document.form.Crown_hle.checked == true) {
		cnt++;
	}
	if(document.form.Crown_lle.checked == true) {
		cnt++;
	}
	if(document.form.Crown_low.value != 'Select') {
		cnt++;
	}
	if(cnt > 1) {
		alert('Please select only one value for Crown');
		return false;
	}
  }
  function tabclicked(tabval)
  {
	$("#tabclicked").val(tabval);return false;
  }
  </script>
